<?php

import('com.yamvc.event.Event');

class UserEvent extends Event {
	const AUTH_EVENT="authEvent";
	/**
	 * Enter description here...
	 *
	 * @var User
	 */
	private $_user;
	/**
	 * Enter description here...
	 *
	 * @return User
	 */
	public function getUser(){
		return $this->_user;
	}
	public function __construct($type){
		parent::__construct($type);
		$this->_user = Application::getAppInstance()->getUser();
	}
}

?>